<?php $this->load->helper('tgl_indonesia'); ?>
<div id="single">
			<?php foreach($detail as $d):?>
        	<div class="nav_tengah"><?php echo $d['tema'];?></div>
            <div class="single_page">
            <?php
			$url	= 'http://www.amcc.or.id/web/detailagenda/'.$d['id_agenda'].'/'.$d['tema'];
			$text	= $d['tema'];
			?>
            <h4 class="title"><strong></strong></h4>
            <center><img src="<?php echo base_url();?>image/gambar_event/<?php echo $d['gambar'];?>" width="300" height="400" /></center>
            <table class="table table-bordered">	
				<tr >
					<th class="span4">Nama Kegiatan :</th>
						<td class="span8"><?php echo $d['tema'];?></td>
				</tr>	
                <tr >
					<th class="span4">Tanggal Mulai :</th>
					<td class="span8"><?php echo nama_hari($d['tgl_mulai']) . ', ' . tgl_indo($d['tgl_mulai']);?></td>
				</tr>
               <tr >
					<th class="span4">Tanggal Selesai :</th>
					<td class="span8"><?php echo nama_hari($d['tgl_selesai']) . ', ' . tgl_indo($d['tgl_selesai']);?></td>
				</tr>	
				<tr >
					<th>Deskripsi Kegiatan : </th>
					<td><?php echo $d['isi_agenda'];?></td>
				</tr>
			</table>
            <p>
            <?= share_button('twitter',	array('url'=>$url, 'text'=>$text, 'via'=>'amcc_amikom', 'type'=>'iframe'))?>
			<?= share_button('facebook',	array('url'=>$url, 'text'=>$text))?>
            </p>
			<?php endforeach;?>	
            </div>
        </div>